package io.renren.modules.job.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
 * 测试定时任务(演示Demo，可删除)
 *
 * testTask为spring bean的名称
 *
 * @author Mark sunlightcs@gmail.com
 */
@Component("myTask")
public class MyTask implements ITask {
    private Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public void run(String params){
        //logger.debug("TestTask定时任务正在执行，参数为：{}", params);
        System.out.println(params);
        System.out.println("12asd3");
        System.out.println("12asd3");


    }
}